<div id="apply-content">
    <h4 class="text-warning">基金会会员救助申请</h4>
    <p class="text-muted">您的填写内容将会被自动保存</p>
    
    <form id="application-form" enctype="multipart/form-data">
        <div class="mb-3">
            <label for="applicant-name" class="form-label">申请人</label>
            <input type="text" id="applicant-name" class="form-control" value="<?= $userInfo['name'] ?? '' ?>" readonly>
        </div>

        <div class="mb-3">
            <label for="relation" class="form-label">申请人与患者的关系*</label>
            <select class="form-select" id="relation" name="relation" required>
                <option selected disabled value="">请选择...</option>
                <option value="本人">本人</option>
                <option value="配偶">配偶</option>
                <option value="父母">父母</option>
                <option value="子女">子女</option>
            </select>
        </div>

        <div class="mb-3">
            <label for="reason" class="form-label">申请事由*</label>
            <textarea class="form-control" id="reason" name="reason" rows="5" required></textarea>
        </div>

        <div class="mb-3">
            <label for="proof-file" class="form-label">证明材料上传*</label>
            <input class="form-control" type="file" id="proof-file" name="proof_file" required>
            <div class="form-text">请上传相关证明文件，如病历、诊断证明、政府证明等。</div>
        </div>

        <button type="submit" class="btn btn-warning w-100">
             <span class="spinner-border spinner-border-sm d-none" role="status" aria-hidden="true"></span>
             提交申请
        </button>
    </form>
    
    <hr class="my-4">
    
    <h4 class="text-warning">审批流程</h4>
    <ol>
        <li>提交申请（申请人）</li>
        <li>材料初审（部门主管逐级审核 -- 人事行政部门复核）</li>
        <li>委员会审核（基金管理委员会）</li>
        <li>结果通知（3-5个工作日内）</li>
    </ol>
</div> 